package org.xu.enums;

import com.core.enums.IntEnum;
import com.core.enums.annotation.IntEnumJSONType;

@IntEnumJSONType
public enum IntDemoEnum implements IntEnum {
    MyIntEnum1(1,"测试类型-1");

    IntDemoEnum(int value,String text) {
        this.value = value;
        this.text = text;
    }

    private final int value;
    private final String text;


    @Override
    public int getValue() {
        return value;
    }
}